import axios from 'axios'

//百度搜索
export function baiduSugrec(params: any) {
    // https://www.baidu.com/sugrec?&prod=pc&wd=
    // return axios.get(`/api/baidu_sugrec/${params}`);
    return fetch(`https://www.baidu.com/sugrec?&prod=pc&wd=${params}`, {mode: 'no-cors'})
}
